package com.jindy.module.oaDepartApproval.mapper;

import java.util.List;
import com.jindy.module.oaDepartApproval.domain.SyOaDepart;

/**
 * 离职审批Mapper接口
 * 
 * @author jindy
 * @date 2023-05-29
 */
public interface SyOaDepartMapper 
{
    /**
     * 查询离职审批
     * 
     * @param id 离职审批主键
     * @return 离职审批
     */
    public SyOaDepart selectSyOaDepartById(Long id);

    /**
     * 查询离职审批列表
     * 
     * @param syOaDepart 离职审批
     * @return 离职审批集合
     */
    public List<SyOaDepart> selectSyOaDepartList(SyOaDepart syOaDepart);

    /**
     * 新增离职审批
     * 
     * @param syOaDepart 离职审批
     * @return 结果
     */
    public int insertSyOaDepart(SyOaDepart syOaDepart);

    /**
     * 修改离职审批
     * 
     * @param syOaDepart 离职审批
     * @return 结果
     */
    public int updateSyOaDepart(SyOaDepart syOaDepart);

    /**
     * 删除离职审批
     * 
     * @param id 离职审批主键
     * @return 结果
     */
    public int deleteSyOaDepartById(Long id);

    /**
     * 批量删除离职审批
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSyOaDepartByIds(Long[] ids);
}
